home *** CD-ROM | disk | FTP | other *** search
/ Univers Mac Interactif 42 / Univers Mac Interactif - Issue 42.iso / >interactif / Démos Voyager / MOZART.DIR / 00025_Script_25 < prev    next >
Text File  |  1994-10-13  |  432b  |  25 lines

  1. on enterframe
  2.   cursor 200
  3. end
  4. on waitQT chan
  5.   if the movieRate of sprite chan = 1 then go to the frame
  6. end
  7. on waitSound chan
  8.   if  soundbusy(chan) = 1 then go to the frame
  9. end 
  10.  
  11. on myWait theTicks
  12.   set myTicks = theTicks + the ticks
  13.   repeat while (myTicks >= the ticks)
  14.   end repeat
  15. end
  16.  
  17. on KeyDown
  18.   global autoplaying
  19.   put 0 into autoplaying
  20.   sound stop 1
  21.   sound stop 2
  22.   unloadcast
  23.   play done
  24. end
  25.